package haust;

import org.newdawn.slick.opengl.Texture;

public class TextureContainer{
	private int textureId;
	private String textureName;
	private float textureWidth;
	private float textureHeight;
	private Texture texture;
	
	/**
	 * 
	 * @param textureName
	 * @param texture
	 */
	public TextureContainer(String textureName,Texture texture){	
		this.textureName=textureName;
		this.texture = texture;
		this.textureHeight = texture.getTextureHeight();
		this.textureWidth = texture.getImageWidth();
		this.textureId = texture.getTextureID();
	}
	
	public void setTextureId(int textureId) {
		this.textureId = textureId;
	}
	public int getTextureId() {
		return textureId;
	}
	public void setTextureWidth(int textureWidth) {
		this.textureWidth = textureWidth;
	}
	public float getTextureWidth() {
		return textureWidth;
	}
	public void setTextureHeight(int textureHeight) {
		this.textureHeight = textureHeight;
	}
	public float getTextureHeight() {
		return textureHeight;
	}
	public void setTextureName(String textureName) {
		this.textureName = textureName;
	}
	public String getTextureName() {
		return textureName;
	}
	public void setTexture(Texture texture) {
		this.texture = texture;
	}
	public Texture getTexture() {
		return texture;
	}	
}